package com.ak.game.service;

import com.ak.game.entity.PnUserStream;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * vip用户游戏记录表(PnUserStream)表服务接口
 *
 * @author makejava
 * @since 2024-05-17 19:45:49
 */
public interface PnUserStreamService extends IService<PnUserStream> {

    /**
     * 用户下注
     *
     * @return
     */
    boolean saveUserBetting(Integer tallyType, Object data, Object game);

    /**
     * 保存单个用户下注结果
     * @param data
     * @param game
     */
    void saveUserResultRecord(Integer tallyType, Object data, Object game);


    void saveUserStream(List<String> list, String gameId, String roundId, Date endTime, Integer tallyType);

}

